package com.cn.longdistancebusstation.contacter;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebView;

import com.cn.longdistancebusstation.BuildConfig;
import com.cn.longdistancebusstation.R;
import com.cn.longdistancebusstation.base.BaseActivity;

public class InsuranceDescActivity extends BaseActivity {
    private WebView mWebView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_insurance_desc);

        this.getTitleTextView().setText("保险说明");
        mWebView = (WebView)findViewById(R.id.webView);
        loadWeb();
    }

    private void loadWeb(){
        mWebView.loadUrl(BuildConfig.SERVER_URL + "/help/insurance.html");
    }
}
